package mrpheu.demo.server.classes;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import mrpheu.demo.server.interfaces.IZoneClient;


public class MrPheuBasicServer {
    protected int port;
    protected Map<Integer, IZoneClient> clientList = new ConcurrentHashMap<Integer, IZoneClient>();
    protected ThreadPoolChat threadPool = null;
    protected boolean offServer = false;
    
    public MrPheuBasicServer(int port, Map<Integer, IZoneClient> clientList, ThreadPoolChat threadPool) {
        this.port = port;
        this.clientList = clientList;
        this.threadPool = threadPool;
    }
    
    public void setOffSever(boolean offServer) {
        this.offServer = offServer;
    }
    
}
